a = {"mike":60, "john":50, "lucy":30, "alan":40}
b = [80]
for i in a:
    if 'n' in i:
        c = i.split()
        d = dict(zip(c,b))
        a.update(d)
print(a)